﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace sipfe.model.validation
{
    public class CompendioDetalleModel
    {
    
    public decimal NIdeDetalle  { get; set; }
	public decimal NIdeCompendio{ get; set; }
	public decimal NIndEleGrupo { get; set; }
	public string VCodElemento  { get; set; }

    [Required(ErrorMessage = "El campo {0} es obligatorio.")]
    [Display(Name = "Nombre Elemento11")]
    [RegularExpression(@"^[0-9.,-_'#:a-zA-Z_!+&%\s*\s$\s]*$", ErrorMessage = "{0} Contiene Caracteres no válidos")]
    public string VNomDetalle   { get; set; }

    public string VNomCorto     { get; set; }
	public decimal NEstado      { get; set; }
    public string VDesRef1      { get; set; }
    public string VDesRef2      { get; set; }
    public string VDesRef3      { get; set; }
	public DateTime DtFecReg    { get; set; }
	public decimal  NIdeUsuReg  { get; set; }

    [Required(ErrorMessage = "El campo {0} es obligatorio.")]
    [Display(Name = "Fecha Inicio Vigencia22")]
    public DateTime DtFecIniVig { get; set; }

    public DateTime DtFecFinVig { get; set; }





    }
}
